﻿<Page x:Class="Runa.Metro.GameViewPage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      xmlns:local="using:Runa.Metro"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
      mc:Ignorable="d">

    <SwapChainBackgroundPanel x:Name="DXSwapChainPanel">
        <Grid Name="MessageBox"
              HorizontalAlignment="Center"
              VerticalAlignment="Center"
              Visibility="Collapsed">
            <StackPanel Orientation="Vertical">
                <TextBlock Name="TB_Title"
                           HorizontalAlignment="Center"
                           Text="{Binding Title}" />
                <TextBlock Name="TB_Message"
                           HorizontalAlignment="Center"
                           Text="{Binding Message}" />
            </StackPanel>
        </Grid>
    </SwapChainBackgroundPanel>

</Page>